package com.gemcoder.system.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpServletRequest;
import java.io.File;
import java.util.Map;
import javax.annotation.Resource;
import com.gemcoder.system.bo.Result;
import com.gemcoder.system.service.ScoringmanagementService;
import cn.hutool.core.util.StrUtil;
import java.util.Map;
import cn.hutool.core.util.ObjectUtil;

@Controller
@RequestMapping("/Scoringmanagement")
public class ScoringmanagementController{

  @Resource private ScoringmanagementService ScoringmanagementService;

  

	@RequestMapping(value = "/getRatingManagementData")
	@ResponseBody
	public Result getRatingManagementData(@RequestBody(required = false) Map<String,Object> paramMap) {
		
		//如果有需要校验的入参, 请在这里补充代码进行校验

    //调用service层的代码

    	return ScoringmanagementService.getRatingManagementData(paramMap);
	}
   

	@RequestMapping(value = "/addRatingManagementData")
	@ResponseBody
	public Result addRatingManagementData(@RequestBody(required = false) Map<String,Object> paramMap) {
		
		//如果有需要校验的入参, 请在这里补充代码进行校验

    //调用service层的代码

    	return ScoringmanagementService.addRatingManagementData(paramMap);
	}

	@RequestMapping(value = "/updateRatingManagementData")
	@ResponseBody
	public Result updateRatingManagementData(@RequestBody(required = false) Map<String,Object> paramMap) {

		//如果有需要校验的入参, 请在这里补充代码进行校验

		//调用service层的代码

		return ScoringmanagementService.updateRatingManagementData(paramMap);
	}
   

	@RequestMapping(value = "/deleteRatingManagementData")
	@ResponseBody
	public Result deleteRatingManagementData(@RequestBody(required = false) Map<String,Object> paramMap) {
		
		//如果有需要校验的入参, 请在这里补充代码进行校验

    //调用service层的代码

    	return ScoringmanagementService.deleteRatingManagementData(paramMap);
	}
   

}
